#include "page5_widget/page5_widget.h"
#include "welcome_widget.h"


Page5_Widget::Page5_Widget(welcome_Widget *widget)
{
    this->welcomewidget = widget;
    welcome_ui = this->welcomewidget->ui;


    QString info;

    info = QString("  软件版本 ") + SOFTWARE_VERSION + QString("  硬件版本 ") + HARDWARE_VERSION;

    connect(welcome_ui->pb_at_test,SIGNAL(clicked()),this,SLOT(on_pb_at_test_clicked()));     //建立信号槽

    welcome_ui->label_info->setText(info);
}

Page5_Widget::~Page5_Widget()
{


}



void Page5_Widget::on_pb_at_test_clicked()
{
    qDebug() << ">>> on_pb_at_test_clicked >>>";
    //at_parser->send_at_cmd("AT");

}

